In This Topic
Sets the shading domain.
The variable is considered to vary linearly between these two values as the color gradient varies between the starting and ending circles. The variable t becomes the input argument to the shading function.
Syntax
public void setDomain(
double[]
)
|
Parameters
- value
- An array of two numbers [t0 t1] specifying the limiting values of a parametric variable t.
Exceptions
| Exception | Description |
| java.lang.IllegalArgumentException | When the domain does not have 2 elements. |
See Also